<?php
echo "<pre>";

$url = $_SERVER['HTTP_HOST'].'/'.
print_r($_SERVER);
